package PLCSymbolAndScope.PLCSymbols;

import java.util.ArrayList;

//派生出方法块和类
public class PLCBaseClassDeclSymbol extends PLCISTypeDeclType {
    //类实现的接口
    public ArrayList<PLCInterfaceDeclSymbol> interfaces = new ArrayList<>();

    //class是否是abstract或者是final
    public PLCModifierEnum.ClassModifier classModifier;

    public PLCBaseClassDeclSymbol(){
        super();
    }
    public PLCBaseClassDeclSymbol(String name, int rowNum){
        super(name, rowNum);
    }

    void addInterface(PLCInterfaceDeclSymbol inface){
        this.interfaces.add(inface);
    }
}
